@media screen {

    html, body {
        min-height: 100%;
    }

    body {
        margin: 0;
        font-size: 18px;
        font-family: 'PT Sans', Verdana, sans-serif;
        background: #ffffff;
        line-height: 1.4;

        overflow: hidden;
    }

    #page-wrap {
        width: 100%;
        height: 100vh;
        overflow: hidden;
    }

    /*** canvas ***/

    #canvas {
        position: fixed;
        top: 0;
        left: 0;
        height: 100vh;
        width: 100vw;
        z-index: 1;
    }

    #back-to-lib-link {
        display: inline-block;
        position: fixed;
        top: 0;
        left: 0;
        padding: 0.25em 0.5em;
        background: #ee6557;
        color: white;
        text-decoration: none;
        z-index: 20;
        font-size: 0.85em;
    }

    #back-to-lib-link:hover {
        background: black;
    }

    #source-code-link {
        display: inline-block;
        position: fixed;
        bottom: 1em;
        left: 1em;
        padding: 0.25em 0.5em;
        background: #ee6557;
        color: white;
        text-decoration: none;
        z-index: 50;
    }

    #source-code-link:hover {
        background: black;
    }

    .dg.ac {
        z-index: 3 !important;
    }

    #content {
        position: relative;
        z-index: 2;
        width: 97.5vw;
        margin: 40px auto;
    }

    .plane {
        position: fixed;
        width: 50%;
        height: 50vh;
        top: 25vh;
        left: 25%;
        overflow: hidden;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .plane img {
        display: block;
        min-width: 100%;
        min-height: 100%;
        object-fit: cover;
        opacity: 0.2;
    }

    #plane-bounding-rect {
        position: fixed;
        background: red;
        opacity: 0.2;
        pointer-events: none;
        display: block;
        z-index: 3;
    }

    /*** handling errors ***/

    .no-curtains .plane img {
        opacity: 1;
    }

}
